package com.ccq.service;

import com.ccq.mapper.AdminMapper;
import com.ccq.model.Admin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LastIndexService {
    @Autowired
    AdminMapper adminMapper;

    public Admin lastlogin(Admin admin){
        Admin a=adminMapper.loginfunction(admin);
        return a;
    }
}
